package com.quasar.hpatient.receive;

import android.content.Context;
import android.content.Intent;

import lib.quasar.pedometer.PedometerBroadcast;


public class PedometerReceiver extends PedometerBroadcast {

    private static final String TAG = "StepCounterBroadcast";

    @Override
    public void onReceive(Context context, Intent intent) {
//        TSApplication tsApplication = (TSApplication) context.getApplicationContext();
//        if (!tsApplication.isForeground()) {
//            Intent mainIntent = new Intent(context, MainActivity.class);
//            mainIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
//            context.startActivity(mainIntent);
//        }
    }
}
